﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200121F RID: 4639
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartPartialChallengeCsReq : IMessage<StartPartialChallengeCsReq>, IMessage, IEquatable<StartPartialChallengeCsReq>, IDeepCloneable<StartPartialChallengeCsReq>, IBufferMessage
	{
		// Token: 0x17003AC8 RID: 15048
		// (get) Token: 0x0600CFF3 RID: 53235 RVA: 0x002301A1 File Offset: 0x0022E3A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartPartialChallengeCsReq> Parser
		{
			get
			{
				return StartPartialChallengeCsReq._parser;
			}
		}

		// Token: 0x17003AC9 RID: 15049
		// (get) Token: 0x0600CFF4 RID: 53236 RVA: 0x002301A8 File Offset: 0x0022E3A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartPartialChallengeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003ACA RID: 15050
		// (get) Token: 0x0600CFF5 RID: 53237 RVA: 0x002301BA File Offset: 0x0022E3BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartPartialChallengeCsReq.Descriptor;
			}
		}

		// Token: 0x0600CFF6 RID: 53238 RVA: 0x002301C1 File Offset: 0x0022E3C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPartialChallengeCsReq()
		{
		}

		// Token: 0x0600CFF7 RID: 53239 RVA: 0x002301C9 File Offset: 0x0022E3C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPartialChallengeCsReq(StartPartialChallengeCsReq other) : this()
		{
			this.dKMAMFPPLHP_ = other.dKMAMFPPLHP_;
			this.buffId_ = other.buffId_;
			this.challengeId_ = other.challengeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CFF8 RID: 53240 RVA: 0x00230206 File Offset: 0x0022E406
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPartialChallengeCsReq Clone()
		{
			return new StartPartialChallengeCsReq(this);
		}

		// Token: 0x17003ACB RID: 15051
		// (get) Token: 0x0600CFF9 RID: 53241 RVA: 0x0023020E File Offset: 0x0022E40E
		// (set) Token: 0x0600CFFA RID: 53242 RVA: 0x00230216 File Offset: 0x0022E416
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool DKMAMFPPLHP
		{
			get
			{
				return this.dKMAMFPPLHP_;
			}
			set
			{
				this.dKMAMFPPLHP_ = value;
			}
		}

		// Token: 0x17003ACC RID: 15052
		// (get) Token: 0x0600CFFB RID: 53243 RVA: 0x0023021F File Offset: 0x0022E41F
		// (set) Token: 0x0600CFFC RID: 53244 RVA: 0x00230227 File Offset: 0x0022E427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffId
		{
			get
			{
				return this.buffId_;
			}
			set
			{
				this.buffId_ = value;
			}
		}

		// Token: 0x17003ACD RID: 15053
		// (get) Token: 0x0600CFFD RID: 53245 RVA: 0x00230230 File Offset: 0x0022E430
		// (set) Token: 0x0600CFFE RID: 53246 RVA: 0x00230238 File Offset: 0x0022E438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x0600CFFF RID: 53247 RVA: 0x00230241 File Offset: 0x0022E441
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartPartialChallengeCsReq);
		}

		// Token: 0x0600D000 RID: 53248 RVA: 0x00230250 File Offset: 0x0022E450
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartPartialChallengeCsReq other)
		{
			return other != null && (other == this || (this.DKMAMFPPLHP == other.DKMAMFPPLHP && this.BuffId == other.BuffId && this.ChallengeId == other.ChallengeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D001 RID: 53249 RVA: 0x002302AC File Offset: 0x0022E4AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DKMAMFPPLHP)
			{
				num ^= this.DKMAMFPPLHP.GetHashCode();
			}
			if (this.BuffId != 0U)
			{
				num ^= this.BuffId.GetHashCode();
			}
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D002 RID: 53250 RVA: 0x0023031D File Offset: 0x0022E51D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D003 RID: 53251 RVA: 0x00230325 File Offset: 0x0022E525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D004 RID: 53252 RVA: 0x00230330 File Offset: 0x0022E530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BuffId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.BuffId);
			}
			if (this.DKMAMFPPLHP)
			{
				output.WriteRawTag(104);
				output.WriteBool(this.DKMAMFPPLHP);
			}
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D005 RID: 53253 RVA: 0x002303A8 File Offset: 0x0022E5A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DKMAMFPPLHP)
			{
				num += 2;
			}
			if (this.BuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffId);
			}
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D006 RID: 53254 RVA: 0x0023040C File Offset: 0x0022E60C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartPartialChallengeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DKMAMFPPLHP)
			{
				this.DKMAMFPPLHP = other.DKMAMFPPLHP;
			}
			if (other.BuffId != 0U)
			{
				this.BuffId = other.BuffId;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D007 RID: 53255 RVA: 0x00230470 File Offset: 0x0022E670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D008 RID: 53256 RVA: 0x0023047C File Offset: 0x0022E67C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 104U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.ChallengeId = input.ReadUInt32();
						}
					}
					else
					{
						this.DKMAMFPPLHP = input.ReadBool();
					}
				}
				else
				{
					this.BuffId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005359 RID: 21337
		private static readonly MessageParser<StartPartialChallengeCsReq> _parser = new MessageParser<StartPartialChallengeCsReq>(() => new StartPartialChallengeCsReq());

		// Token: 0x0400535A RID: 21338
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400535B RID: 21339
		public const int DKMAMFPPLHPFieldNumber = 13;

		// Token: 0x0400535C RID: 21340
		private bool dKMAMFPPLHP_;

		// Token: 0x0400535D RID: 21341
		public const int BuffIdFieldNumber = 11;

		// Token: 0x0400535E RID: 21342
		private uint buffId_;

		// Token: 0x0400535F RID: 21343
		public const int ChallengeIdFieldNumber = 15;

		// Token: 0x04005360 RID: 21344
		private uint challengeId_;
	}
}
